package com.mvu.banana.user.client;

import com.google.gwt.event.dom.client.ClickEvent;
import com.google.gwt.event.dom.client.ClickHandler;
import com.google.gwt.user.client.ui.Anchor;
import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.Frame;
import com.google.gwt.user.client.ui.VerticalPanel;

/**
 */
public class Places extends Composite implements ClickHandler {
  public Places(){
    VerticalPanel panel = new VerticalPanel();
    Anchor favourite = new Anchor("javascript:");
    favourite.addClickHandler(this);
    panel.add(favourite);
    initWidget(panel);
  }

  @Override
  public void onClick(ClickEvent event) {
    new Frame("http://www.yahoo.com");
  }
}
